Liquid state machine